<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
<h:head>
	
</h:head>
<h:body>
	<h:form>
		<p:growl id="messages"/> 
		<p:menubar autoSubmenuDisplay="true">  
        	<p:submenu label="Заявки" icon="ui-icon ui-icon-document">  
	          		<p:menuitem value="Создать" url="#"/>  
    	       		<p:menuitem value="Продажа" url="#" />  
	       	    	<p:menuitem value="Покупка" url="#" />  
        	</p:submenu> 
        	<p:menuitem value="Выход" url="http://localhost:8080/jsf/logout.do" icon="ui-icon ui-icon-close" />   
  		</p:menubar>
  		
  		 <p:dataTable var="car" value="#{carBean.cars}">
  		 </p:dataTable>
	</h:form>
</h:body>
</html>